<template>
	<view class="pop-parent">
		<view class="tip-view">
			<text class="title">特别提醒</text>
			<text class="tip-desc" style="color:#FF4206;">请分享到亲人或亲人群</text>
			<text  class="tip-desc" style="margin-top: 15rpx;">此操作将邀请对方进入当前家谱</text>
			<image class="tip-image" src="http://c.shiqin.wang/yaoqing.png"></image>
			<view class="btn-view">
				<text class="left-btn" @click="leftClick">取消</text>
				<button class="right-btn" open-type="share" @click="rightClick">确认</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "tree-invitation-pop",
		props: {
			isShow: false,
		},
		data() {
			return {};
		},
		methods: {
			leftClick() {
				var obj = {
					isclose: false,
				};
				this.$emit('returnTreeInvitation', obj);
			},
			rightClick() {
				var obj = {
					isclose: false,
					tag: "share"
				};
				this.$emit('returnTreeInvitation', obj);
			}
		}
	}
</script>

<style>
	@import "tree-invitation-pop.css";
</style>
